import Request from '@/utils/request/index'

export default {
  getList: (data) => {
    return Request.request({
      url: "/no-auth/product/list",
      method: 'POST',
      data
    })
  },
  getDetail: (id) => {
    return Request.request({
      url: `/no-auth/product/detail/${id}`,
      method: 'GET'
    })
  }
}